package com.ml.mall.bean.req.catalogue;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author :pl
 * @version :1.0
 * @description :创建收藏目录文件夹
 * @date :2021/5/25
 **/
@Data
@Accessors(chain = true)
@ApiModel(value = "创建收藏目录Model")
public class SysCatalogueAddDto {
    @ApiModelProperty(value = "目录名称")
    @NotBlank(message = "目录名称不能为空")
    private String catalogueName;

    @ApiModelProperty(value = "优先类型：0：不优先；1：优先")
    @NotNull(message = "优先级不能为空")
    private Integer prefferedType;
}
